package com.feicheng.house.wcpay.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;


import com.feicheng.house.result.ResultInfo;
import com.feicheng.house.wcpay.service.TuiKuanService;

import pojo.shenQingTuiKuan;


@Controller
@RequestMapping("/house")
public class TuiKuanContorller {
	@Autowired
	private TuiKuanService tuiKuanService;
	@PostMapping("/refund")
	public ResultInfo refund(shenQingTuiKuan shenQingTuiKuan) {
		return tuiKuanService.refund(shenQingTuiKuan);
	}
	

}
